<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk" xml:lang="en" lang="en">


	<f:view>
		<ui:composition template="../templates/templateGAB.xhtml">
			<ui:define name="pageTitle">Valider retrait</ui:define>

			<ui:define name="body">
				<h:form id="valider" rendered="#{operationBean.conx}">
					<div id="langue">
						<h:selectManyCheckbox value="#{gabBean.selectedItems}"
							layout="pageDirection" onchange="submit()">
							<f:selectItem itemLabel="Retirer carte" itemValue="carte"  />
							<f:selectItem itemLabel="Récupérer billets" itemValue="billet" />

						</h:selectManyCheckbox>

					</div>
					<div id="link">
					
					<h:commandLink action="#{gabBean.download}" style="margin-left:0px; text-decoration : none; "  rendered="#{gabBean.ticketChoix}">
					<h:graphicImage url="../images/telecharger.png"
								style="height: 30px; width: 37px;position:absolute;border: none;"></h:graphicImage>
						<h:outputText value="Télécharger votre ticket" style="margin-left:40px;"> </h:outputText>
					</h:commandLink>
</div>
					<h:commandButton id="btnValider" value=""
						style="background:url(../images/login.gif) no-repeat;height: 61px; width: 153px;border:0; cursor:pointer;margin-top:40px;margin-left:400px;"
						action="#{gabBean.retrait}" disabled="#{gabBean.disabled}" />
				</h:form>

			</ui:define>
		</ui:composition>
	</f:view>
</html>
